import api from './axios.js'

// 修复登录和注册接口路径，确保路径正确
export const login = (data) => api.post('/api/auth/login', data)
export const register = (data) => api.post('/api/auth/register', data)